/*
 * copyright (c) 2009 Alexandr [Sn@ble] Surnin
 *
 * This file is part of CVP.
 *
 * CVP is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * CVP is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You can read the full version of GNU LGPL in
 * http://www.gnu.org/copyleft/lesser.html
 */


#ifndef TRACKBODY_H
#define TRACKBODY_H

#include <QPainter>
#include <QPen>

#include <QDebug>

#include <QWidget>


/** Track body
  * \author Alexandr [Sn@ble] Surnin
  * A generic class for other track bodies
  * Draws a track and interacts with video screen and other tracks
  */
class TrackBody : public QWidget {

public:
    TrackBody(QWidget *parent = 0);

protected:
    void paintEvent(QPaintEvent *event);
};

#endif // TRACKBODY_H
